<?php
class Mcontact extends CI_Model{
	protected $_table="tpt_contact";
	public function __construct(){
		parent::__construct();	
		$this->load->database();
	}

	public function insert($data){
        $this->db->insert($this->_table,$data);
    }
}